﻿using MobileControlGuru.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MobileControlGuru
{
    public partial class AdbTCPIPForm : MobileControlGuru.BaseForm
    {
        public MobileControlGuru.MainForm main { set; get; }
        public AdbTCPIPForm(MobileControlGuru.MainForm _main)
        {
            this.main = _main;
            InitializeComponent();
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            int port = Convert.ToInt32(this.inputNumbPort.Text);

            ADB.TCPIP(null, port);
            this.Close();
        }
    }
}
